package com.ruoyi.edu.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 菜单名对象 edu_menu
 * 
 * @author 雷帅
 * @date 2023-05-06
 */
public class EduMenu extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** ID */
    private Long id;

    /** 菜单名 */
    @Excel(name = "菜单名")
    private String menuName;

    /** 路由 */
    @Excel(name = "路由")
    private String menuUrl;

    /** 菜单图标 */
    @Excel(name = "菜单图标")
    private String menuImg;

    /** 隐藏状态 */
    @Excel(name = "隐藏状态")
    private String menuVisible;

    /** 菜单分类 */
    @Excel(name = "菜单分类")
    private Long menuFlag;

    /** 菜单排序 */
    @Excel(name = "菜单排序")
    private Long menuOrdernum;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setMenuName(String menuName) 
    {
        this.menuName = menuName;
    }

    public String getMenuName() 
    {
        return menuName;
    }
    public void setMenuUrl(String menuUrl) 
    {
        this.menuUrl = menuUrl;
    }

    public String getMenuUrl() 
    {
        return menuUrl;
    }
    public void setMenuImg(String menuImg) 
    {
        this.menuImg = menuImg;
    }

    public String getMenuImg() 
    {
        return menuImg;
    }
    public void setMenuVisible(String menuVisible) 
    {
        this.menuVisible = menuVisible;
    }

    public String getMenuVisible() 
    {
        return menuVisible;
    }
    public void setMenuFlag(Long menuFlag) 
    {
        this.menuFlag = menuFlag;
    }

    public Long getMenuFlag() 
    {
        return menuFlag;
    }
    public void setMenuOrdernum(Long menuOrdernum) 
    {
        this.menuOrdernum = menuOrdernum;
    }

    public Long getMenuOrdernum() 
    {
        return menuOrdernum;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("menuName", getMenuName())
            .append("menuUrl", getMenuUrl())
            .append("menuImg", getMenuImg())
            .append("menuVisible", getMenuVisible())
            .append("menuFlag", getMenuFlag())
            .append("menuOrdernum", getMenuOrdernum())
            .toString();
    }
}
